package net.wanho.service.impl;

import lombok.RequiredArgsConstructor;
import net.wanho.mapper.StudentMapper;
import net.wanho.po.Student;
import net.wanho.service.StudentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2023-08-25 10:48
 * Description：<描述>
 */
@Service
@RequiredArgsConstructor
public class StudentServiceImpl implements StudentService {

    private final StudentMapper studentMapper;

    @Override
    public List<Student> findAll() {
        return studentMapper.selectAll();
    }
}
